﻿using System;
using System.Text;
using System.Web;
using BLL.RF.TestRecord;
using Model.RF.TestRecord;

public partial class ViewbyProduct_Test : System.Web.UI.Page
{
    public ViewbyProduct_Test()
    {
        
    }

    protected void Page_Load(object sender, EventArgs e)
    {

    }


    protected void Button2_Click(object sender, EventArgs e)
    {
        Test_Record tr = new Test_Record();
        TestItem_Record tir = new TestItem_Record();
        Test_RecordInfo tri = new Test_RecordInfo()
        {
            ID = 1,
            ProductSN = "SFL0200062",
            RecordTime = DateTime.Now,
            TestPeriod = int.Parse("100"),
            ProductTypeID = "testS001",
            UserID = "123456",
            TestEquipID = "10.53.28.174",
            TestProjID = "1.0",
            Result = false,
            TestType = "OIP3测试",
            //Remark=""
        };
        TestItem_RecordInfo tiri = new TestItem_RecordInfo()
        {
            ID = 1,
            ProductSN = "SFL0200062",
            RecordTime = DateTime.Now,
            TestItemName = "RX1" + "通道 OIP3 Test",
            TestItemDesc = "RX1" + "," + 1950 + "," + 1951,
            Spec = "30.5",
            ResValue = "-30",
            Result = false
        };
        int i=tr.Test_Record_Insert_OIP3(tri);
        this.TextBox1.Text = i.ToString();
    }
}
